SetTextServiceCursor
TheSetTextServiceCursor
function lets the text service component control the shape of the cursor.
FUNCTION SetTextServiceCursor (ts: ComponentInstance; mousePos: Point): ComponentResult;
ts
- A component instance created by a prior call to the Component Manager
OpenComponent
function.mousePos
- A location (specified as a QuickDraw point) that specifies the global coordinates for the vertical and horizontal position of the mouse.
DESCRIPTION
The text service component must return a nonzero value forComponentResult
if it has set the cursor, and 0 if it has not.